{% extends "base.html" %}

{% block content %}

<div class="row">
	<div class="span12 columns">
		<h1>{{ place.name }}</h1>
		<!--<a href="/add/dish">Add dish</a>-->
	</div>
</div>

<div class="row">
	<div class="span12 columns">
		{% with num_dishes=dishes.count %}
			<h6>{{ num_dishes }} Dish{{ num_dishes|pluralize }}</h6>
		{% endwith %}
		{% if dishes %}
		<ul>
			{% for dish in dishes %}
			<li>
				<a href="/rate/{{ dish.id }}/good">[+]</a>
				<a href="/rate/{{ dish.id }}/bad">[-]</a>
				<a href="/{{ urls.DISH }}/{{ dish.slug }}">{{ dish.name }}</a>
			</li>
			{% endfor %}
		</ul>
		{% endif %}
	</div>
</div>

{% endblock %}